package cn.yusei.teamTribe.constant;

public class ResponseCode {

	public static final int SERVER_ERROR = -1;
	
	public static final int REQUEST_SUCCESSED = 0;
	
	public static final int PARAM_ILLEGAL = 1;
	
	public static final int USER_NOT_EXISTS = 2;
	
	public static final int PASSWORD_ERROR = 2;
	
	public static final int USER_ALREADY_EXISTS = 4;
	
	public static final int  NOT_LOGON = 5;
	
	public static final int TRY_AGIN_WAITING = 6;
	
	public static final int URL_INVALIDATE = 7;
	
	public static final int ALREADY_HAVE_EMAIL = 8;      //已经验证过邮箱
	
	public static final int EMAIL_ALREADY_EXISTS = 9;    //邮箱已经被某个帐号绑定
	
	public static final int EMAIL_IS_USING = 10;             //已经获取过验证邮件
	
	public static final int EDU_WEBSITE_UNACCESSIBALE = 11;
	
	public static final int EDU_WEBSITE_ACCESS_ERROR = 12;
	
	public static final int EDU_WEBSITE_VALIDATECODE_ERROR = 13;
	
	public static final int EDU_WEBSITE_UNKNOWN_ERROR = 14;
	
	public static final int ALREADY_HAVE_PHONE = 15;
	
	public static final int PHONE_ALREADY_EXISTS = 16;
	
	public static final int PHONE_VALIDATECODE_ERROR = 17;    //手机号码的验证码错误
	
	public static final int ALREADY_HAVE_SIGN = 18;		//已经签到
	
	public static final int USER_NOT_SIGN = 19; 		//没有签到
	
	public static final int ROLE_CONFLICT = 20;      //一个用户不能同时是某 team 的会长和管理员或多次设置为管理员
	
	public static final int PERMISSION_FORBIDDEN = 21;   //权限不够
	
	public static final int ROLE_NUMBER_LIMIT = 22;  //角色到达最大数
	
	public static final int TEAM_NAME_ALREADY_EXISTS = 23; //该学校该社团名字已经被使用
	
	public static final int TEAM_NOT_EXISTS = 24;
	
	public static final int POST_NOT_EXISTS = 25;
	
	public static final int MEMBER_REQUEST_NOT_EXISTS = 26; //社团加入申请不存在
	
	public static final int MEMBER_REQUEST_ALREADY_DEALED = 27; //社团加入申请已经被（其他管理员）处理
	
	public static final int ALREADY_IN_TEAM = 28; //已经是 team 的成员
	
	public static final int NOT_IN_TEAM = 29;  //（设置管理员或退出时不是 team ）的成员
	
	public static final int MASTER_CAN_NOT_EXIT_TEAM = 30;  //会长不会退出 team
	
	public static final int ALBUM_NOT_EXISTS = 31; //相册不存在
	
	public static final int ALBUM_ALREADY_EXISTS = 32; //相册（名字）已经存在
}
